Version 4
SHEET 1 1400 680
WIRE -240 96 -288 96
WIRE 112 96 64 96
WIRE 592 96 544 96
WIRE -288 160 -288 96
WIRE 64 160 64 96
WIRE 544 160 544 96
WIRE -288 288 -288 240
WIRE 64 288 64 240
WIRE 544 288 544 240
FLAG 64 288 0
FLAG 112 96 AngularVelocity
IOPIN 112 96 BiDir
FLAG 544 288 0
FLAG 592 96 Angle
IOPIN 592 96 BiDir
FLAG -288 288 0
FLAG -240 96 AngularAcceleration
IOPIN -240 96 BiDir
SYMBOL voltage -288 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PULSE(1 -1 0.5 1n 1n 0.5 1)
SYMBOL bv 64 144 R0
SYMATTR InstName B1
SYMATTR Value V=idt( V(AngularAcceleration))
SYMBOL bv 544 144 R0
SYMATTR InstName B2
SYMATTR Value V=idtmod( V(AngularVelocity),{InitialAngle}, 1, 0)
TEXT -40 72 Left 2 ;rev/s2
TEXT 272 72 Left 2 ;rev/s
TEXT 656 72 Left 2 ;rev
TEXT -288 24 Left 2 !.param InitialAngle 0
TEXT -322 346 Left 2 !.tran 0 10 0 1m
